#include "widget.h"
#include "./ui_widget.h"
#include<QPushButton>//按钮文件夹

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QPushButton*QBT=new QPushButton(this);//创建一个按钮
    QBT->setText("我是按钮");
   // QBT->setGeometry(50,50,50,50);
    QBT->move(100,100);
    this->move(500,100);//移动窗口
    connect()
}

Widget::~Widget()
{
    delete ui;
}
